package com.dq.service.sys.user.centre;

import com.dq.controller.in.user.UserPlanQuery;
import com.dq.domain.sys.user.user.centre.UserPlan;
import com.dq.exception.customException.AdminException;

import java.util.List;
import java.util.Map;

/**
 * @author liuhui
 * @date 2019/12/2 0002 14:31:57
 */
public interface UserPlanService {
    public List<UserPlan> list(UserPlanQuery userPlanQuery);
    public Long count(UserPlanQuery userPlanQuery);


    UserPlan save(UserPlan userPlan);
    public UserPlan update(UserPlan userPlan) throws AdminException;
}
